Sunny Net RTU Communication Driver

 

Sunny Net RTU is communication driver to play a role as a RTU of Sunny boy(Net) device of SMA Regelsyteme Corp., in Germany.

 

Notice) Sunny Net RTU communication driver is created as standard by current Sunny Net SCC model.

 

1. Read settings

 

<Figure 1> is read setting example of Sunny Net RTU communication driver.

<Figure 1> Read setting example of Sunny Net RTU driver

Device part of <Figure 1> input Com Port(COM1), Baud Rate(19200), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively.

 

Sunny Net RTU driver's read schedule

Sunny Net RTU communication driver's read schedule just write single line as READ,.

 

Read schedule example)

READ,

 

If you click the icon  in protocol option part at <Figure 1>, you can see the dialog box such as <Figure 2>. You can register station and set analoge input tag to write and transmission value format which are registered in station.

<Figure 2> Sunny Net RTU communication driver's station/tag registration dialog box

If you select  button of <Figure 2>, <Figure 3> is shown and you can set station to register at this dialog box. Also, you can delete the registered station by using  button.

<Figure 3> Example of dialog box for registering station

If you select ,  button of <Figure 2>, <Figure 4> is shown and you can select tag to transmit of selected station and data type(BYTE, WORD, DWORD, FLOAT) in this dialog box. Also, you can delete the registered tag by selecting  button.

<Figure 4> Sunny Net RTU communication driver's read schedule Add/Edit dialog box

If you register station and analog input tag(transmission value format) as above, it is saved at WorkDirectory\SCAN directory as INI file.

<Table 1> is description for method of writing station to communicate at INI file directly, and <Table 2> is description for analog input tag to transmit to each station and setting method for tag current value format.

Also, <Figure 5> is example of writing station to be registered, and <Figure 6> is example of writing analog input tag and tag current value format to be transmitted to each station.

File name

Method of writing for ini file

WorkDirectory\SCAN\station_%03d.ini 

%03d is communication port number between 0 and 255, here.

1) Enter the single station information per single line, and put in a ','(comma) last.

2) Enter station to be registered as decimal number.

3) You can set maximum 256 stations.

<Table 1> How to write station to be communicated to INI file directly
<Figure 5> Example of writing station to be registered

File name

Method of writing for ini file

WorkDirectory\SCAN\sun_03d_%06d.ini

 

%03d is communication port number between 0 and 255, here,

 

%06d is the registered station number between 0 and 65535.

1) It is station that is registered in each communication port.

Notice) Not registered station can't be communicated.

2) Enter the single analog input tag and current value format of tag, per single line by classifying as ','(comma).

3) Enter the tag current value format as number between 0 and 3. (Default = 0)

0 = BYTE, 1 = WORD, 2 = DWORD, 3 = FLOAT

4) It is possible to register maximum 256 analog input tags.

 

<Table 2> Analog input tag and tag current value format setting method to transmit to each station
<Figure 6> Analog input tag and tag current value format to transmit to each station

Reference) Tag current value transmitted by Sunny Net RTU communication driver is saved in tag order which is registered in WORD/FLOAT/DWORD memory of registered station order (not station number)„Șno.100 address

 

2. Writing settings

There is no writing settings for Sunny Net RTU communication driver.